package com.example.demo.service;


import com.example.demo.pojo.PlannerResult;
import com.example.demo.vo.UserVo;
import org.springframework.stereotype.Service;


@Service
public interface UserService  {

    PlannerResult<UserVo> login(String account, String password);

    PlannerResult<String> register(UserVo user);

    PlannerResult<String> sendEmailVerificationCode(String identifier);

    PlannerResult<String> sendPhoneVerificationCode(String identifier);

    PlannerResult<String> find_password(String account, String password, String code);
}
